//
//  XYTableView.h
//  LabHelper
//
//  Created by 找汽配 on 2017/5/31.
//  Copyright © 2017年 XiangYun. All rights reserved.
//

#import <UIKit/UIKit.h>

@class XYImageScrollViewModel;
@protocol XYImageScrollViewCellDelegate;

@interface XYImageScrollViewCell : UIView

@property (nonatomic, weak) UIImage * defaultImage;
@property (nonatomic, weak) id<XYImageScrollViewCellDelegate> delegate;

+ (instancetype)cell;
- (XYImageScrollViewModel *)model;
- (void)setModel:(XYImageScrollViewModel *)model;

@end

@protocol XYImageScrollViewCellDelegate <NSObject>

- (void)imageScrollViewCellDidSelectWithModel:(XYImageScrollViewModel *)model;

@end
